/*
 * Left.fx
 *
 * Created on Mar 2, 2009, 2:39:21 PM
 */

package hlequaliser;

import javafx.scene.CustomNode;
import javafx.scene.Group;
import javafx.scene.Node;
import javafx.scene.shape.Line;
import javafx.scene.paint.Color;

/**
 * @author forsakendaemon
 */


public class Left extends CustomNode {
public var x: Number = 0;
public var y: Number = 0;
public-init var masked: Boolean = false;

    public override function create(): Node {
        return Group {
            content: [
                Line {
                    startX: x - 4,
                    startY: y - 4,
                    endX: x + 4,
                    endY: y + 4,
                    stroke: Color.BLUE;
                },
                Line {
                    startX: x - 4,
                    startY: y + 4,
                    endX: x + 4,
                    endY: y - 4,
                    stroke: Color.BLUE;
                },

            ]
        };
    }
}